package com.kotiln.lgc.lib_base.base

import android.app.Application
import android.content.Intent
import com.imooc.lib_voice.words.WordsTools
import com.kotiln.lgc.lib_base.helper.ARouterHelper
import com.kotiln.lgc.lib_base.helper.NotificationHelper
import com.kotiln.lgc.lib_base.service.InitService
import com.kotiln.lgc.lib_base.util.LogUtil
import com.kotiln.lgc.lib_base.util.SpUtil
import com.kotiln.lgc.lib_voice.manager.VoiceManager

/**
 *@fileName BaseApp
 *@date2021/1/14  17:51
 *@author BaseApp$
 *@describe TODO
 *@desc 基类App
 */
open class BaseApp:Application() {

    override fun onCreate() {
        super.onCreate()

        ARouterHelper.initHelper(this)
        SpUtil.initSpUitl(this)
        NotificationHelper.initHelper(this)
        WordsTools.initTools(this)
        startService(Intent(this,InitService::class.java))
    }
}